import Vue from 'vue'
import App from './App'

import store from './store/index.js'
import api from './common/api.js'	
import uView from '@/uni_modules/uview-ui'


var util = require("./utils/util.js");
var infolistutil = require("./utils/infolistutil.js");
var processInitialData = require("./utils/processInitialData.js")
var common = require("./utils/api/common.js")

for (let key in util) {
  Vue.prototype['$' + key] = util[key]
}
for (let key in infolistutil) {
  Vue.prototype['$' + key] = infolistutil[key]
}
for (let key in processInitialData) {
  Vue.prototype['$' + key] = processInitialData[key]
}
for (let key in common) {
  Vue.prototype['$' + key] = common[key]
}




Vue.use(uView)

Vue.prototype.$api = api
Vue.config.productionTip = false
Vue.prototype.$store = store

App.mpType = 'app'

const app = new Vue({
	store,
	...App,
	
})
Vue.prototype.$bus = app
app.$mount()

